<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	<style type="text/css">
		
		#hd{
			width: 400px;
			height: 300px;
			background: dodgerblue;
		}
		
	</style>
		<script src="jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			
			$(function(){
//				获得元素样式
				var w = $("#hd").css('backgroundColor');
				alert(w)
			})
			
		</script>
	</head>
	<body>
		
	<div id="hd"></div>
		
		
	</body>
</html>
